import path from 'path'

const resolve = (pagePath) => path.resolve(process.cwd(), `./${pagePath}`)
export const $routes = [

    {
        path: '/',
        redirect: '/login'

    }
]

const extendRoutes = (routes) => {

    $routes.forEach(item => {

        routes.push(item)
    })

}

export default {
    extendRoutes
}